modify database file