結果 : update existing array javascript