Updating the database, adding the new db layer to more queries.