changes to database