# \[resolved\] Change variable / Partial update strange result - bug of feature?

**URL:** <https://community.weweb.io/t/resolved-change-variable-partial-update-strange-result-bug-of-feature/1632>\
**Category:** Ask us anything\
**Created:** [December 23, 2022, 1:35am UTC](https://community.weweb.io/t/resolved-change-variable-partial-update-strange-result-bug-of-feature/1632 "2022-12-23T01:35:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anna.fae](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/anna.fae/32/776_2.png) [@Anna.fae](https://community.weweb.io/u/Anna.fae)\
**Post date:** [December 23, 2022, 1:35am UTC](https://community.weweb.io/t/resolved-change-variable-partial-update-strange-result-bug-of-feature/1632/1 "2022-12-23T01:35:56Z")

</div>

Hello!  
When I try to use partial update for object I expect that value under Path in object will be changed.  
But as a result I got new key+value pair added to this object instead.  
Is this expected behaviour or bug?

example:  
my original fetched object, there is “Action” and value Wear  
 ![Screenshot 2022-12-22 at 20.29.03](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/1/18b7a224f8235d88b1c9ee9b388e493499468bea.png)

I update this object with my workflow

partial update: I set Path to my parameter Action

 ![Screenshot 2022-12-22 at 20.29.28](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/f/f75c54ca46d35c7c76c1e663ecf02b93503b5890.jpeg)

And I add new value to replace Wear to Sell

 ![Screenshot 2022-12-22 at 20.29.43](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/f/fdac98b77fbafc80fe1b6f40b3d8c93c2665c5e4.jpeg)

And this what I get after executing this workflow:

 ![Screenshot 2022-12-22 at 20.30.01](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/f/ffe061737011afd4e52224edaa67cb92a9fd745f.png)

Ive got new ROW where key is my old value and Value is new Value.

And I supposed partial update of object path will be: “action: Sell” not a new row.

---

<div class="post-metadata">

**Author:** ![dorilama](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorilama/32/10403_2.png) [@dorilama](https://community.weweb.io/u/dorilama)\
**Post date:** [December 23, 2022, 8:45am UTC](https://community.weweb.io/t/resolved-change-variable-partial-update-strange-result-bug-of-feature/1632/2 "2022-12-23T08:45:43Z")

</div>

> [@Anna.fae](#):
>
> I set Path to my parameter Action

In the screenshot looks like you are actually setting the path to `wear`, that’s why you get a new property “wear” in your object.

If you want to change the property `action` set the path to “action” and the value to your new value.

---

<div class="post-metadata">

**Author:** ![Anna.fae](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/anna.fae/32/776_2.png) [@Anna.fae](https://community.weweb.io/u/Anna.fae)\
**Post date:** [December 23, 2022, 3:54pm UTC](https://community.weweb.io/t/resolved-change-variable-partial-update-strange-result-bug-of-feature/1632/3 "2022-12-23T15:54:10Z")

</div>

@dorilama thanks a lot for clarification 🙏, that helps!
