Update api_client.php