updated the db file