update spi word length