update for new plugin system compatibility