結果 : update value in an array javascript