update card shadow