public function updatePulsClientSurvey(ClientSurvey $survey, Request $request, Client $client): ClientSurvey 	{ 		$online_count = $request->online_applicants_count ?? 0; 		$offline_count = $request->offline_applicants_count ?? 0;  		$survey->update([ 			'title' => $request->title, 			'start_date' => $request->start_date ? formatTimestamp($request->start_date, 'Y-m-d H:i', $request->user()->timezone) : null, 			'end_date' => $request->end_date ? formatTimestamp($request->end_date, 'Y-m-d H:i', $request->user()->timezone) : null, 			'invitation_date' => $request->invitation_date ? formatTimestamp($request->invitation_date, 'Y-m-d H:i', $request->user()->timezone) : null, 			'reminder_date' => $request->reminder_date ? formatTimestamp($request->reminder_date, 'Y-m-d H:i', $request->user()->timezone) : null, 			'number_of_employees' => $online_count + $offline_count, 			'online_applicants_count' => $online_count, 			'offline_applicants_count' => $offline_count, 			'multiple_access_codes' => $request->boolean('multiple_access_codes'), 			'include_demographic_questions' => $request->boolean('include_demographic_questions'), 			'locations' => $request->locations, 			'departments' => $request->departments, 			'draft' => $request->boolean('draft'), 			'client_comment' => $request->client_comment, 			'send_codes_via_email' => $request->boolean('send_codes_via_email'), 			'location_answer_required' => $request->boolean('location_answer_required'), 			'department_answer_required' => $request->boolean('department_answer_required'), 			'locations_description' => [ 				'en' => $request->locations_description_en ?? $survey->getTranslation('locations_description', 'en'), 				'hr' => $request->locations_description_hr ?? $survey->getTranslation('locations_description', 'hr'), 				'bs' => $request->locations_description_bs ?? $survey->getTranslation('locations_description', 'bs'), 				'mk' => $request->locations_description_mk ?? $survey->getTranslation('locations_description', 'mk'), 				'sl' => $request->locations_description_sl ?? $survey->getTranslation('locations_description', 'sl'), 				'sr' => $request->locations_description_sr ?? $survey->getTranslation('locations_description', 'sr'), 				'fr' => $request->locations_description_fr ?? $survey->getTranslation('locations_description', 'fr'), 				'de' => $request->locations_description_de ?? $survey->getTranslation('locations_description', 'de'), 			], 			'departments_description' => [ 				'en' => $request->departments_description_en ?? $survey->getTranslation('departments_description', 'en'), 				'hr' => $request->departments_description_hr ?? $survey->getTranslation('departments_description', 'hr'), 				'bs' => $request->departments_description_bs ?? $survey->getTranslation('departments_description', 'bs'), 				'mk' => $request->departments_description_mk ?? $survey->getTranslation('departments_description', 'mk'), 				'sl' => $request->departments_description_sl ?? $survey->getTranslation('departments_description', 'sl'), 				'sr' => $request->departments_description_sr ?? $survey->getTranslation('departments_description', 'sr'), 				'fr' => $request->departments_description_fr ?? $survey->getTranslation('departments_description', 'fr'), 				'de' => $request->departments_description_de ?? $survey->getTranslation('departments_description', 'de'), 			], 			'demographic_answers_required' => $request->boolean('demographic_answers_required'), 			'demographic_first' => $request->boolean('demographic_first'), 			'departments_first' => $request->boolean('departments_first'), 			'locations_first' => $request->boolean('locations_first'), 		]);  		$this->setClientSurveyCompanySize($survey);  		return $survey; 	}