Add group_id to the matter