update flashcards