Update the contents of the file after reset