updates to Hashmap