Typescript Update Value In Hashmap