update the spi register define.