Update Lib.php