How do coupon sites like JustHony automatically update 10’s thousands of valid coupons that constantly change?

Honey claims 40000 stores where they can automatically apply a valid coupon for you. Does anyone know how they are able to monitor these stores and update the coupons (to avoid using expired coupons and ensure they use the coupon with the most discount ?). Tx !