modify grammar group