When a node is dynamically added to another leaf node, this node should update its class from node-leaf to node-parent.
When a node is dynamically added to another leaf node, this node should update its class from node-leaf to node-parent.