[TASK] Update code segments in documentation
Merge pull request #14 from MaxServ/master

[TASK] Update code segments in documentation