# Delete row / Update row

**URL:** <https://community.weweb.io/t/delete-row-update-row/8415>\
**Category:** How do I?\
**Tags:** supabase, weweb\
**Created:** [May 2, 2024, 7:28pm UTC](https://community.weweb.io/t/delete-row-update-row/8415 "2024-05-02T19:28:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![GSr](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/gsr/32/7506_2.png) [@GSr](https://community.weweb.io/u/GSr)\
**Post date:** [May 2, 2024, 7:28pm UTC](https://community.weweb.io/t/delete-row-update-row/8415/1 "2024-05-02T19:28:03Z")

</div>

I’m having difficulty applying the settings to update or delete the user in the datagrid.  
I’m currently using Supabase as a backend.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/d/d591a4b5b286831e077d8d38bfef27e09161716e.png)

In this screen above, I have related data from two tables…

In the update, I need to join the employees table and the user\_work\_profile table… how would I do this in this case? If you notice, in this step it shows the option to select a table only

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/8/86c884ff075125d7cbf699f7f72d0408de47ade8.png)

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [May 2, 2024, 9:09pm UTC](https://community.weweb.io/t/delete-row-update-row/8415/2 "2024-05-02T21:09:52Z")

</div>

You can do an update for both tables. With two actions, this would be the quick and dirty way. If you end up updating more tables, it might be worth a shot to write your own “endpoint” a.k.a a PGSQL function / edge function and handle that on the backend side of things.
