edit controllers and add plugin