update ping example 

Steps in the example did not work until I made these changes.