結果 : how to update a json object in javascript