I tried to update a record with this code but no success, i have this error message ... this is probably not the right method
public function update(Request $