update example and README
Merge pull request #1 from terryh/master

update example and README