Update RestfulClient.php