Typescript Update Array Element Destructuring