updated the database file