coupon status change function.