結果 : update all objects in array javascript