Update Array Of Objects Using Spread Operator