to troubleshoot the issue these tips might help.
1. ensure your system meets the minimum requirements for the update, including the correct socket and bios version.
2. try updating the bios of your msi b550 gaming gen to the latest version.
3. check for any compatibility issue between the processor or the motherboard or other components.
4. download the latest chipset and graphics drivers from the amd website.
5. disable any antivirus or firewall as they may interfere with the update process.
6. Attempt the update again, follow the instructions provided by amd or the mother board manufacturer.