Update client.class.php