Updated DataController to handle database upgrades upon new version download