Update lib.inc.php