update the register url