---
title: "update(to:)"
framework: automaticassessmentconfiguration
role: symbol
role_heading: Instance Method
path: "automaticassessmentconfiguration/aeassessmentsession/update(to:)"
---

# update(to:)

Changes the session to use the specified configuration.

## Declaration

```swift
func update(to configuration: AEAssessmentConfiguration)
```

## Parameters

- `configuration`: A new configuration to use for the session.

## Discussion

Discussion After you call this method, the session tries to apply the new configuration and then calls its delegate’s assessmentSessionDidUpdate(_:) method to indicate success, or the delegate’s assessmentSession(_:failedToUpdateTo:error:) method to indicate failure. Wait to receive one of these callbacks before proceeding with an assessment, and be sure to handle the failure case.

## See Also

### Managing session configuration

- [configuration](automaticassessmentconfiguration/aeassessmentsession/configuration.md)
- [supportsMultipleParticipants](automaticassessmentconfiguration/aeassessmentsession/supportsmultipleparticipants.md)
- [supportsConfigurationUpdates](automaticassessmentconfiguration/aeassessmentsession/supportsconfigurationupdates.md)
