Update db file