Typescript Find Element In Array And Update