# How do i update/replace a bucket picture properly

**URL:** <https://community.weweb.io/t/how-do-i-update-replace-a-bucket-picture-properly/17870>\
**Category:** How do I?\
**Tags:** supabase\
**Created:** [April 21, 2025, 11:13pm UTC](https://community.weweb.io/t/how-do-i-update-replace-a-bucket-picture-properly/17870 "2025-04-21T23:13:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jefeOliveira](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/jefeoliveira/32/13256_2.png) [@jefeOliveira](https://community.weweb.io/u/jefeOliveira)\
**Post date:** [April 21, 2025, 11:13pm UTC](https://community.weweb.io/t/how-do-i-update-replace-a-bucket-picture-properly/17870/1 "2025-04-21T23:13:09Z")

</div>

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

everything seems to work, but my file is not been replaced in my bucket

---

<div class="post-metadata">

**Author:** ![jefeOliveira](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/jefeoliveira/32/13256_2.png) [@jefeOliveira](https://community.weweb.io/u/jefeOliveira)\
**Post date:** [April 22, 2025, 11:40pm UTC](https://community.weweb.io/t/how-do-i-update-replace-a-bucket-picture-properly/17870/2 "2025-04-22T23:40:28Z")

</div>

@Joyce can you help me? There is no documentation related to that action anywhere 😕

---

<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:** [April 23, 2025, 5:32am UTC](https://community.weweb.io/t/how-do-i-update-replace-a-bucket-picture-properly/17870/3 "2025-04-23T05:32:20Z")

</div>

Do you have upsert turned on and does the RLS allow this?

---

<div class="post-metadata">

**Author:** ![jefeOliveira](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/jefeoliveira/32/13256_2.png) [@jefeOliveira](https://community.weweb.io/u/jefeOliveira)\
**Post date:** [April 23, 2025, 10:19pm UTC](https://community.weweb.io/t/how-do-i-update-replace-a-bucket-picture-properly/17870/5 "2025-04-23T22:19:47Z")

</div>

Update, i managed to setup all properly but, my supabase image does not update, but in direct url it does lol. Why is that happening

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/7/71424f7c568fc258796f9cebaf1b379062f664ce.jpeg)

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