update DB file