update client to new specs
fix few loose requirements in gemspec
update example code