結果 : update a object in array javascript