sql koduyla hallettim
teşşekürler... lazım olanlara

Alıntı
UPDATE user SET usergroupid=2 WHERE usergroupid = '3'