Updates the cards