updates the generators