Update the file