update ping example 

Steps in the example did not work until I made these changes.
Merge pull request #64 from tsloughter/patch-1

Update ping example with new configuration