Update Maximum Depth of Binary Tree