update card directive and formatted cards with the recipes