edit database file