re-add the IPKG plugin and rename the upgrade main function