Please make sure that there were prisoners assigned to the cells that you had upgraded. The dialog window will inform you about the new price, but this amount will only be added to your income flow when the cell is occupied by 2 prisoners. 
Please also take in mind that you will receive your money divided into hours, so some of these upgrades could seem imperceptible. However, if the upgrade took place, this money should be added to your final earnings.