Update Height OR maxDepth of a Tree