Update Minimum Depth of Binary Tree