title: How to Update Collections in Azure Cosmos DB
body: <p>I am trying to update collection of User who signed up yesterday into our system. My objective is to find the users who registered yesterday and set <code>isActive</code> to <code>true</code>. I am able to get list of users who registered on specific date but not sure on how to update them</p>
  
  <p>This is the query I am using to select list of user. I am using this from inside <em>Azure > Azure Cosmos DB > Query Explorer</em></p>
  
  <pre><code>SELECT * FROM UserAccounts u WHERE u.isActive = false AND u.signupDate
  &gt;= "2017-12-18" AND u.signupDate &lt;= "2017-12-19"
  </code></pre>
  
  <p>I am getting list of 26 users who signed up yesterday using this query.
  I was referring to <a href="https://docs.microsoft.com/en-us/azure/cosmos-db/sql-api-sql-query" rel="nofollow noreferrer">this doc</a> of MSFT but couldn't find how. </p>
  
  <p>If this cannot be done using Query Explorer, then please mention how can I do this change internally. </p>