update the score property in the json.