結果 : update object in array javascript spread operator