update client.rb
update api_spec.rb