implemented single extension support in upgrade.js