結果 : js update object in array of objects