update bstree