Update libs.php