Update general_functions.php