My wife also has a UK Spousal Visa and last year she renewed her passport to her now married surname. The visa is still ok and she just carries her new passport and old passport with visa.