bug fix on coupon update