Update custom_func.php