update plugin manager to the new plugin system with layers and interactions