Update funtions.php