public function update(ConfigurationListener $listener, array $input)
    {
        try {
            $this->providersRepository->update($input);
            $msg = trans('antares/two_factor_auth::configuration.responses.update.success');

            return $listener->updateSuccess($msg);
        } catch (Exception $e) {
            Log::emergency($e);

            $msg = trans('antares/two_factor_auth::configuration.responses.update.fail');
            return $listener->updateFailed($msg);
        }
    }