title: Laravel sync hasMany with belongsTo array
body: <p>Kind time of day everyone! The essence of my problem is this:
  there are two models Contact and PhoneNum! relationships in models:</p>
  
  <pre><code>use Illuminate\Database\Eloquent\Model;
  
  class Contact extends Model
  {
      protected $table = 'contacts';
      public function phoneNums()
      {
          return $this-&gt;hasMany('App\Models\PhoneNum');
      }
  }
  </code></pre>
  
  <p>PhoneNum model</p>
  
  <pre><code>class PhoneNum extends Model
  {
      protected $table = 'phoneNums';
      protected $fillable = ['phone_num'];
  
      public function contact()
      {
          return $this-&gt;belongsTo('App\Models\Contact');
      }
  }
  </code></pre>
  
  <p>In the form of editing contact, I get its name and an array with the phone numbers of this contact.</p>
  
  <p>ContactController</p>
  
  <pre><code>public function update(Request $request, $id)
  {
      $contact = Contact::find($id);
      $contact-&gt;name = $request-&gt;name;
      $contact-&gt;save();
  
      //what should I do with the array $request-&gt;phoneNums ????
  
      return redirect('/');
  }
  </code></pre>
  
  <p>I can not synchronize these new phone numbers with a contact on id. Can you help me with this?</p>