結果 : update all values in array of objects javascript