add method="upgrade" for plugins