update one file