title: Laravel How to update one to one relationships?
body: <p>Terms table:</p>
  
  <ul>
  <li>term_id</li>
  <li>name</li>
  <li>slug</li>
  </ul>
  
  <p>Term_taxonomy table:</p>
  
  <ul>
  <li>term_taxonomy_id</li>
  <li>term_id</li>
  <li>description</li>
  </ul>
  
  <p>My Term model:</p>
  
  <pre><code>public function TermTaxonomy(){
      return $this-&gt;hasOne('TermTaxonomy');
  }
  </code></pre>
  
  <p>My TermTaxonomy model:</p>
  
  <pre><code>public function Term(){
      return $this-&gt;belongsTo('Term');
  }
  </code></pre>
  
  <p>My Categories controller:</p>
  
  <pre><code>public function update($id){
      echo "$id"; // echo success
      echo $data['name']; // it should update name field in term table
      echo $data['slug']; // it should update slug field in term table
      echo $data['TermTaxonomy']['description']; // it should update description field in termtaxonomy table
  }
  </code></pre>
  
  <p>how i can update one to one relationships ? maybe with push()</p>
  
  <p>Thanks, sorry i am new in laravel.</p>