update an example to use edge gradients