update card's shadow