update foo.json.