Removed calling inst_mode (doesn't exist anymore) during upgrade