update foo.txt