update group switch