結果 : update a value in array javascript