Update templating SPI chapter since latest changes in templating