結果 : update key in array of objects javascript