Update SwitchMode