Updating card.js