public function update(Request $request, $id)
    {
        $data = $request->all();

        return $this->processor->update($this, $id, $data);
    }
public function update(Request $request, $id)
    {
        $data = $request->all();

        return $this->processor->update($this, $id, $data);
    }
public function update ( Request $ request , $ id ) { $ data = $ request -> all ( ) ; return $ this -> processor -> update ( $ this , $ id , $ data ) ; }
Handles the update action.

@param Request $request
@param int $id
@return mixed
Handles the update action .