Update card.js