Update cards.js