Minor modifications
Upgrading now starts with setting the status to 'being_upgraded'