Changes groupid