call plugins for upgrade when upgrading