How to replace an item from list

I am trying to add a bunch of item in a list then by getting the firebase value i am removing that item from the list but it is not working please help


usually you use the remove list item block to remove an item from a list
I do not see you using that block?

and following your subject, you try to replace an item from a list?
to do that, use the replace list item block


do this block will be ok.