update to card layout