update assets groups with switch