update databasehandler