Updated example

Exaple now contains presence support.  Minor adjustments,