Typescript Change Value In Array Of Objects