updating plugins to new architecture to avoid deprecation warnings