update example in documentation