update to card framework