update coupon resource