upgrades database version