update the file.