Update BaseClient.php