Update AVL tree