update discount_calculator