Update functions2.lib.php