migrate_group_set.py modified