Update gradient examples.