update with database file