Update DatabaseManager.php