add try except for upgrades step