# RealtimeDB - partial update

**URL:** <https://community.thunkable.com/t/realtimedb-partial-update/34468>\
**Category:** Questions about Thunkable X\
**Created:** [July 5, 2018, 11:00pm UTC](https://community.thunkable.com/t/realtimedb-partial-update/34468 "2018-07-05T23:00:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrea\_Marchisio](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@Andrea\_Marchisio](https://community.thunkable.com/u/Andrea_Marchisio)\
**Post date:** [July 5, 2018, 11:00pm UTC](https://community.thunkable.com/t/realtimedb-partial-update/34468/1 "2018-07-05T23:00:32Z")

</div>

Hi,  
if I have to update a single data on my RealtimeDB (Fidelity) how I do that?  
if I use the blocks shown, all data are replaced by just what I saving losing the others.

![Schermata%20del%202018-07-06%2000-44-22](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/4/e42fe73512feceb5cccd15992d9a6ec88a1acce2.png)

 ![Schermata%20del%202018-07-06%2000-44-48](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/b/cbacc44a5df531d0167a0037173efdae3a26cb94.png)

---

<div class="post-metadata">

**Author:** ![Rob\_Schoemaker](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/rob_schoemaker/32/21023_2.png) [@Rob\_Schoemaker](https://community.thunkable.com/u/Rob_Schoemaker)\
**Post date:** [July 6, 2018, 6:20am UTC](https://community.thunkable.com/t/realtimedb-partial-update/34468/2 "2018-07-06T06:20:56Z")

</div>

Hi Andrea,

Use slashes (/) to specify the “path” to your subkey, so in your case, set the key as “Registrazioni/224711219/Fidelity”

Regards Rob

PS: I see that you save the password as cleartext. Not a good idea in my opinion. You might want to look for another solution for that, also see [http://community.thunkable.com/t/firebase-be-careful-to-properly-secure-your-data/33655/2](http://community.thunkable.com/t/firebase-be-careful-to-properly-secure-your-data/33655/2)

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [July 6, 2018, 6:24am UTC](https://community.thunkable.com/t/realtimedb-partial-update/34468/3 "2018-07-06T06:24:49Z")

</div>

Hi,

all the data of the selected root node is lost because you specified the root node as the key. You need to specify to the quality of the key not the root node, but only the field from adding /Field name after card\_input block.

---

<div class="post-metadata">

**Author:** ![Andrea\_Marchisio](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@Andrea\_Marchisio](https://community.thunkable.com/u/Andrea_Marchisio)\
**Post date:** [July 6, 2018, 8:30am UTC](https://community.thunkable.com/t/realtimedb-partial-update/34468/4 "2018-07-06T08:30:25Z")

</div>

Many thanks. it works!

Andrea

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:02pm UTC](https://community.thunkable.com/t/realtimedb-partial-update/34468/5 "2024-11-08T12:02:09Z")

</div>


