updating create_groups file