update plugin factory and holder to template wrapper