Update databaseLibrary.php