Did anybody change their passport name to their spouse's surname after marriage in the UK and before applying for their FLR(M)?

Ideally, applying for the e-passport at the same time.

My concern is that the new passport would not contain the current (fiancée) visa when applying for the FLR(M).

I'm sure many people have also faced the same dilemma.