More changes to update and added new tables to the database