modify hash_map