Update to json file