Update Array Of Objects Javascript Spread Operator