updating groups