Update curl_functions.php