title: Updating a value in firebase using nodejs as admin
body: <pre><code>var ref=db.ref("users");
   var upref = ref.child("-KXpWvL3cgzHvFYgArTW");
    upref.update({
           "name": "Ayaz"
     });      
  </code></pre>
  
  <p>I m using this I am creating a reference to the key but this is not the right way , in my db i have users and then i have keys under that i have the name.
  Here I am creating a reference directly to the key and updating it. the structure of my db is:</p>
  
  <p>users</p>
  
  <p>.... -->key</p>
  
  <p>.............  -->name:""</p>
  
  <p>So how can I update a specific name.?</p>