update data file