add constraint in groupID and groupTAG