Update the register server code