title: Scala Map update
body: <p>I want to update Map value which is present in another Map. When I try to update is says 'value update is not a member of Option[scala.collection.immutable.Map[Int,Int]]'. </p>
  
  <p>I tried to convert the value to Map but still, it didn't work for me.</p>
  
  <pre><code>  val map = Map("one" -&gt; Map(1 -&gt; 11), "two" -&gt; Map(2 -&gt; 22))
    val value = map1.get("one")
    value(1) = 100  //value update is not a member of Option[scala.collection.Map[Int,Int]]
  </code></pre>