edit db file