edits in hashmap