add badges for groups