Group index working with add button add button not working