Model::where('id',1)->update(['name'=>'updated name']); //or $data = Model::findOrFail($id); //primary id $data->name = $request->input('updated name'); $data->save();