added updateHeight method to node class