update groups layout