update the current node pointer to the right subtree root
p = right(p);