Update groups.