updating the node hostname regex