make changes to the database