title: Laravel 5 mutators only work when I create a record and not when I update a record
body: <p>Hi I have created a mutator to only store digits on my phone numbers. Here is my code in my Profile Model.</p>
  
  <pre><code>public function setPhoneAttribute($phone)
  {
      $this-&gt;attributes['phone'] = preg_replace("/[^0-9]/","",$phone);
  }
  </code></pre>
  
  <p>This works when I create a new record, but if I update the record it does not work. My question is how do I execute the Mutator on both create and update?</p>
  
  <p>Here is how I update and create in my controller:</p>
  
  <pre><code>namespace App\Http\Controllers;
  use App\Http\Requests;
  use App\Http\Requests\ProfileRequest;
  use App\Http\Controllers\Controller;
  use Illuminate\Http\Request;
  use Auth;
  use App\Profile;
  
  class ProfileController extends Controller {
  
      public function create(ProfileRequest $request)
      {
          // Check if the user does not have a profile yet
          if(!Auth::user()-&gt;profile()-&gt;first()){
  
              // Save to database
              $saveToDatabase = Auth::user()-&gt;profile()-&gt;create($request-&gt;all()); 
  
              return $saveToDatabase;
          }
      }
  
      public function update(Profile $profile, ProfileRequest $request)
      {
  
          // Save to database
          $saveToDatabase = Auth::user()-&gt;profile()-&gt;update($request-&gt;all());
  
          return $saveToDatabase;
      }
  }
  </code></pre>