update the register peer