title: wasRecentlyCreated and wasChanged are not working
body: <p>I am trying to use wasChanged and wasRecentlyCreated of models in laravel project but both of them are false in the below code </p>
  
  <pre><code>$saved=$project-&gt;accessInfo()-&gt;updateOrCreate(['type'=&gt;$request-&gt;type],['value'=&gt;$data]);
  dd($project-&gt;accessInfo[0]-&gt;wasChanged(),$project-&gt;accessInfo[0]-&gt;wasRecentlyCreated,$project-&gt;wasRecentlyCreated,$project-&gt;wasChanged());
  
  //here is my relation in Project model 
  public function accessInfo()
      {
          return $this-&gt;hasMany('Modules\Project\Models\ProjectAccessInfo', 'project_id');
      }
  </code></pre>
  
  <p>also below code returns error </p>
  
  <pre><code>dd($project-&gt;accessInfo-&gt;wasChanged(),$project-&gt;accessInfo()-&gt;wasRecentlyCreated)
  //No such method or attribute  in both cases 
  //Call to undefined method Illuminate\\Database\\Eloquent\\Relations\\HasMany::wasChanged()
  </code></pre>
  
  <p>Thanks in advance for your help.</p>