My understanding is actually that in some cases, it's actually even prohibited to update some devices' software. From my understanding, the FDA approves/certifies the software image that controls some radiation-emitting hardware (like X-ray machines), and it can be in some cases unlawful to modify it.