update to DB file