migrating events to their appropriate plugins