Fix examples in documentation
Merge pull request #3245 from vlakoff/documentation

Fix examples in documentation
update