title: Difference between setValue() and updateChildren()?
body: <p>I have done research about setValue() and updateChildren(). I have tested both of them to add and update data from firebase database. From what I have learnt that both of them did the same exact thing and did some research about them.</p>
  
  <p>From what I have learnt. The setValue() is used with a class object while updateChildren() is used with a Map or HashMap. Correct me if I'm wrong.</p>
  
  <p>My question is as stated above, what is the difference between setValue() and updateChildren()?</p>