updates groups controller