[android-components](../../../index.md) / [mozilla.components.feature.session](../../index.md) / [SettingsUseCases](../index.md) / [UpdateTrackingProtectionUseCase](index.md) / [update](./update.md)

# update

`protected fun update(settings: `[`Settings`](../../../mozilla.components.concept.engine/-settings/index.md)`, value: `[`TrackingProtectionPolicy`](../../../mozilla.components.concept.engine/-engine-session/-tracking-protection-policy/index.md)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/session/src/main/java/mozilla/components/feature/session/SettingsUseCases.kt#L72)

Overrides [UpdateSettingUseCase.update](../-update-setting-use-case/update.md)

Called to update a [Settings](../../../mozilla.components.concept.engine/-settings/index.md) object using the value from the invoke call.

