update card styles