updating cards