update to the database file