update card css