Hi! I’m not with my computer right now, so I’m trying to explain the process. Hope it will be helpful for you.
Suppose I have a few tags in Firebase named Tag1, Tag2, Tag3 and so on…
Now if I want to edit the value of Tag3 on Button1 click, I just need to put that tag name on block 1 (above) and the values I want to replaced. Please note, the first block will store a new Tag if the given tag is not available in database. Else if it exists, it will edit the value of same.
And the second block will delete the given tag from database.
You can execute both of them on (different) button clicks.