updating case on data file