removed redundant autoupgrade handling