refresh json file