Cloud DB data update/replace

Hi, I wanted to create simple social media app. Now I am trying to add likes system. The code is looking for the post in the list on cloud db and it tries to replace the data with incresaed one. The notification displays the updated variable but after the if is done it seems that the data is not overwrited.

Where do you do the replacement into CloudDB?

only in this replace list element block

If you don't replace the likes into CloudDB, the other users won't see the updated likes.