updates to create_groups