add template for group