title: How to update or create paragraph fields programatically in drupal8
body: <p>Below is my solution with an example, that may help you.</p>
  
  <pre><code>Update existing field
  $target_id = 62;
  $paragraph = Paragraph::load($target_id);
  $typeform_field = $paragraph-&gt;field_archtics_field-&gt;value;
  $archtics_field = $paragraph-&gt;field_archtics_label-&gt;value;
  $paragraph-&gt;set('field_fieldname1', 'TEST1');          
  $paragraph-&gt;set('field_fieldname2', 'TEST2');          
  $paragraph-&gt;save();
  </code></pre>
  
  <p>//Create field and attached in node can be find here.
      <a href="https://www.drupal.org/project/paragraphs/issues/2707017" rel="noreferrer">https://www.drupal.org/project/paragraphs/issues/2707017</a></p>
  
  <pre><code>Thanks
  </code></pre>