Created a way to upgrade an existing database