Comment mettre à jour un tableau basé sur trois colonnes Laravel

$name=Input::get('name');
        DB::table('attendence')
            ->where('name',$name)
            ->update([
                'checkedout' =>  $this->data->checkedout,
                'type'=> $this->data->type,
            ]);
        return redirect('attendence')->with('Thank You!');
Worried Willet