save group id