結果 : how to update existing object in javascript