Update plugins to new plugin API