Assigning the node data after searching in the hashmap!