# Not getting updated data back to my database

**URL:** <https://discourse.nodered.org/t/not-getting-updated-data-back-to-my-database/30444>\
**Category:** General\
**Created:** [21 July 2020 07:23 UTC](https://discourse.nodered.org/t/not-getting-updated-data-back-to-my-database/30444 "2020-07-21T07:23:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shipra](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@shipra](https://discourse.nodered.org/u/shipra)\
**Post date:** [21 July 2020 07:23 UTC](https://discourse.nodered.org/t/not-getting-updated-data-back-to-my-database/30444/1 "2020-07-21T07:23:21Z")

</div>

Sir, i have deployed mqtt rfid node where i am giving rfid number if its valid it shows CR\_SUCCESS otherwise CR\_FAIL .Now i have a door controller which has 2 switch open and close i want whenever anyone comes with valid id only that column gets updated in my database . How to do that ?  
Thank You

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [21 July 2020 08:08 UTC](https://discourse.nodered.org/t/not-getting-updated-data-back-to-my-database/30444/2 "2020-07-21T08:08:40Z")

</div>

Please stick to the thread we are already discussing this on.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [21 July 2020 08:08 UTC](https://discourse.nodered.org/t/not-getting-updated-data-back-to-my-database/30444/3 "2020-07-21T08:08:44Z")

</div>


