Update upgradePlugin.php