title: How do I overwrite existing data in Firebase?
body: <p>I am using Firebase for my hybrid app. I want to overwrite the existing data. But the following code generates a new unique <code>id</code>:</p>
  
  <pre><code>var store = ref.child(s + "/store_location");
  store.push({
      "email": t1, 
      "store_name" : sname, 
      "store_id" : sid, 
      "address" : saddr, 
      "city": scity, 
      "pincode" : spincode, 
      "country" : scountry });
  </code></pre>