Update Binary Tree java