We don't know. They can change the mRNA code for the new spike protein, but they can't force the immune system to respond to the new code. For all we know, the immune system may mistakenly generate a response for the spike it was first imprinted against. This is a well known and documented phenomenon called "original antigenic sin". It sucks.