title: Firebase change value in an array inside a document
body: <p>I have a collection called movies and a document for each movie.
  Among other variables is an array named &quot;reviews&quot; which contains an id, reviewText and so on...</p>
  <p>is it possible to change the value of reviewText?</p>
  <p>My thinking is something like:</p>
  <pre><code>db.collection(&quot;movies&quot;)
          .document(movieId).setData([
              &quot;reviews[indexID].reviewText&quot; : &quot;new text&quot;
          ])
  </code></pre>
  <p>it's the <strong>reviews[index].reviewText</strong> I'm unsure about, how do I tell firebase to change the reviewText in the review with the index: indexID</p>
  <p>Hopefully you understand the question, it's hard to formulate.</p>