Revise upgradeNode hierarchy based on functionality.