Save group id.