databasecontroller updated