Update databaseconnector.php