Update binary tree problems