change the SPS/UPS registration flow to support refresh