Fix upgradestep