migrate group_id