public function updateUser(User $user) { $this->update($user->toArray(), array('user_id' => $user->user_id)); }