function.php updated