結果 : how to update an object value in javascript