update example.rb callback examples
Merge pull request #72 from koriroys/kjr/example.rb

update example.rb callback examples