Modify the specified group, replacing its list of subgroups with the specified list. If no list is specified, then the group is changed to contain no subgroups.