update client.rb