cards example update