Upgrades state