# Updating the slot value after passing once

**URL:** <https://forum.rasa.com/t/updating-the-slot-value-after-passing-once/59974>\
**Category:** Getting Started with Rasa\
**Created:** [October 17, 2023, 1:17pm UTC](https://forum.rasa.com/t/updating-the-slot-value-after-passing-once/59974 "2023-10-17T13:17:21Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![josejulio](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/josejulio/32/23404_2.png) [@josejulio](https://forum.rasa.com/u/josejulio)\
**Post date:** [October 19, 2023, 12:55pm UTC](https://forum.rasa.com/t/updating-the-slot-value-after-passing-once/59974/4 "2023-10-19T12:55:02Z")

</div>

You could follow previous recommendation and also recognize the toppings and anything else that you want to change.

```auto
Your input> I want to change to large 
# Detecting the intent_change and entity `large` size found using custom action to change the slot to large
> Changing to a large pizza 
Your input> I wan to add mushrooms
# Detecting intent_change, entity `add` (modifier?) and entity `mushroom` topping
> Adding mushrooms to your pizza. Your pizza has the following toppings: pepperoni and mushroom

```

This is something you would have to program in the custom action to deal with the entities found in the user input.

Additionally, you could create a new form that asks what you want to change (size, toppings, etc) and let you re-answer the question. You could use [dynamic form behavior](https://rasa.com/docs/rasa/forms/#dynamic-form-behavior) to decide what slots to request again based on your answers.

```auto
Your input> I want to change something in my pizza
> What would you like to change: size/toppings/crust
Your input> size
> What size would you like?
Your input> large
> Ok. Anything else? size/topping/crust/done

```

---

_[View the full topic](https://forum.rasa.com/t/updating-the-slot-value-after-passing-once/59974)._
