update treap