Update generator sketch.