update card value