- Refactor the upgrade code to perform a manual check and update on start.