Disable SD card for firmware change

It seems if the SD card is left in firmware updates do not always work. But sometimes they do.
For many of us we have cams that are relatively inaccessible. If the update software could disable the SD card for the period of the update I’m thinking we might have successful updates when we leave the SD card in,

If that is not possible at least have the software CHECK for an SD card being present and not start the update. There have been many reports of the update not working and bricking the camera if the SD card is left in,