Changed the url of the database. Still haven't figured out how to correctly close the database after it updates