Update DOC.md

Updating examples of without callback and with callback
Merge pull request #2 from assaad/patch-1

Update DOC.md