The update includes a diagnostic function that can detect a malfunction in the high-voltage system and then discharge the battery below the 30 percent state-of-charge battery-emergency mode.