title: Flutter Firebase Firestore: Upgrade options works incorrectly
body: <p>I learn work with Firebase Firestore, and now face with one problem and don't know how to solute this problem. When I first add item its works fine, when I tried to update exist item, its just update in all ads where i have for example 'title', how to update using current unique key, and only there, not in all another keys?. Maybe its possible send saved key to another screen and paste it inside doc path for updating?  Thanks for help in advance!</p>
  <p>At screen for add ad, add code -&gt;</p>
  <pre><code>  
  
    CollectionReference ads = FirebaseFirestore.instance.collection('ads');
   Future&lt;void&gt; newAdd(){
       return ads.add({
       'title' : titlecontroller.text,
       'phone' : phonecontroller.text,
       'price' : pricecontroller.text,
       'desc'  : desccontroller.text,
       'category'  : categoryCurrentItem,
       'userid'  : user != null? user!.uid : googleUser!.id,
       'time'   : Timestamp.now()
  
     });
    }
  </code></pre>
  <p>At screen for updating add, update code :</p>
  <pre><code>CollectionReference updateads = FirebaseFirestore.instance.collection('ads');
  Future&lt;void&gt; UpdateAdd(){
      Future&lt;void&gt; UpdateAdd(){
      GoogleSignInAccount? googleUser = _googleSignIn.currentUser;
       return updateads
        .get()
        .then((querysnapshot) =&gt; querysnapshot.docs.forEach((element) {
           updateads.doc(element.id).update({
             'title' : widget.titletext,
             'phone' : widget.phonetext,
             'price' : widget.pricetext,
             'desc'  : widget.desctext,
             'category'  : categoryCurrentItem,
             'userid'  : user != null? user!.uid : googleUser!.id,
             'time'   : Timestamp.now()
           });
         }));
    }
  </code></pre>