groups template compatible with api v2