improve example code
update podspec