update in the json data and script