Update db file.