# Dynamically update your Elements integration

Learn how to update the Checkout Session or Payment Intent as your customers make changes to the session.

[Customize shipping options](https://docs.stripe.com/payments/advanced/shipping.md): Customize the shipping options based on a customer’s shipping address.

[Update line items](https://docs.stripe.com/payments/advanced/dynamically-update-line-items.md): Add, remove, or update line items based on a customer’s actions during checkout.

[Update subscription trials](https://docs.stripe.com/payments/advanced/dynamically-update-trials.md): Update the trial length for a subscription based on promotional conditions or customer actions during checkout.

[Update discounts](https://docs.stripe.com/payments/advanced/dynamically-update-discounts.md): Apply and modify discounts, such as loyalty discounts, cart value promotions, time-sensitive offers, or customer-specific offers.

[Update payment amounts](https://docs.stripe.com/payments/advanced/dynamically-update-amounts.md): Update the payment amount when customers make changes to what they’re buying, the shipping method, or use of a discount code.

[Make line item quantities adjustable](https://docs.stripe.com/payments/advanced/adjustable-quantity.md): Allow your customers to adjust the quantity of items during checkout.

[Update the customer during checkout](https://docs.stripe.com/payments/checkout/update-customer.md): Support authentication during checkout by attaching an existing customer to a Checkout Session.
