update height creation for avl_tree