updates groups