update public json file