Upgrade for plugin URL function