結果 : update item in array of objects javascript