Update Object In Array Javascript Using Spread Operator