update to the file