update the json for distribution