Update client.rb

Add patch request