Update global_functions.php