tasellielund fix setCards for database update