Update function.php