Updating the data file from the API