Refresh app version before running upgrades

## Description

Related to #33. The app version needs to be refreshed after install, but the version should not be written to the database.