React Update Object In Array Js Methods