Update documentation for cursor example

[ci skip]