update discount system