update group with class