Update client.rb

new function for update status