Typescript Update Item In Array In Php Associative Array