Updated example in documentation