revise hierarchical label