fix update discount