title: Convert Old MongoDB Update Query into New MongoDB 4.2.0 Query
body: <p>Please solve this issue.</p>
  <pre><code>public static void updateInvoice(BsonDocument query)       
  {
              
  try
              
  {
                  
  var BCOldcollectionP = database.GetCollection&lt;ukgeoJsonResults&gt; (&quot;BookingClosed&quot;);
  
                  var updateValues = new List&lt;UpdateBuilder&gt;();
                  updateValues.Add(Update.BitwiseOr(&quot;mstate&quot;, 001));
                  IMongoUpdate updateMult = Update.Combine(updateValues);
                  BCOldcollectionP.Update(query, updateMult, UpdateFlags.Multi);
              }
              catch (Exception ex)
              {
                  ExceptionalHandler.ExceptionWriter(null, ex);
              }
          }
  </code></pre>
  <p>Error: IMongoCollection does not contain a definition for 'Update' and no accessible extension method 'Update' accepting a first argument of type 'IMongoCollection' could be found</p>