You’d better change /usr/bin/switchaction/ manually and keep a copy and restore it after upgrade.