結果 : update an object in array javascript