結果 : how to update value of object in array javascript