upgrade_ma added