update the data file.