add connection to rbtree