edit rbtree