$validatedData = $request->validate([ 'name' => 'required', 'gender' => 'required', 'country' => 'required', 'bod'=>'required', 'description'=>'required', ]); Profile::where('user_id',$user_id)->fill([ 'name'=>'name', 'gender'=>'gender', 'country'=>'country', 'bod'=>'bod', 'description'=>'description', ])->save();