set groupid to groupname