public function update(UpdateProfile $request): JsonResource 	{ 		$user = $request->user();  		$user->update([ 			'name' => $request->name, 			'email' => $request->email, 			'timezone' => $request->timezone, 		]);  		$user->user->update([ 			'surname' => $request->surname, 			'oib' => $request->company_oib, 			'date_of_birth' => $request->date_of_birth, 			'company_name' => $request->company_name, 			'newsletter' => $request->boolean('newsletter'), 			'gender' => $request->gender, 			'company_headquarters' => $request->company_location, 		]);  		$user->user->update($user->user->updateProfileLogic($request));  		return $user->getModelResource(); 	}