Update custom-lib.php