How do I update the section component configuration?
I have done it like this.
$node = \Drupal\node\Entity\Node::load($nid);
$layout = $node-&gt;get('layout_builder__layout')-&gt;getValue();
$sections = $layout-&gt;getSections();

foreach ($sections as $key =&gt; $section) {
  $components = $section-&gt;getComponents();
  foreach ($components as $component) {
    if ($component instanceof SectionComponent &amp;&amp; $component-&gt;getPluginId() === 'myplugin_id') {
       $configurations = $component-&gt;get('configuration');
       $configurations['label_display'] = &quot;0&quot;;
       $component-&gt;setConfiguration($configurations);
    }
  }
}

$node-&gt;set('layout_builder__layout', $layout);
$node-&gt;save();