Update Function.php