update function.inc.php