Typescript Update All Objects In Array