Welcome to Microsoft Q&A.
You can update the image and the re-deploy the VMs.
To preserve the user profile and user data, you can use FSLOGIX and OneDrive.
Please refer this document for more information: https://learn.microsoft.com/en-us/azure/virtual-desktop/fslogix-containers-azure-files
Hope this helps.
Please 'Accept as answer' if the provided information is helpful, so that it can help others in the community looking for help on similar topics.