<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreML",
  "identifier" : "/documentation/CoreML/MLUpdateTask",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core ML"
    ],
    "preciseIdentifier" : "c:objc(cs)MLUpdateTask"
  },
  "title" : "MLUpdateTask"
}
-->

# MLUpdateTask

A task that updates a model with additional training data.

```
class MLUpdateTask
```

## Overview

Use an [`MLUpdateTask`](/documentation/CoreML/MLUpdateTask) to update a machine learning model on a user’s device.

## Topics

### Creating an update task

[`init(forModelAt:trainingData:completionHandler:)`](/documentation/CoreML/MLUpdateTask/init(forModelAt:trainingData:completionHandler:))

Creates a task that updates the model at the URL with the training data, and calls the completion handler when the update completes.

[`init(forModelAt:trainingData:progressHandlers:)`](/documentation/CoreML/MLUpdateTask/init(forModelAt:trainingData:progressHandlers:))

Creates a task that updates the model at the URL with the training data, and calls the progress handlers during and after the update.

[`init(forModelAt:trainingData:configuration:completionHandler:)`](/documentation/CoreML/MLUpdateTask/init(forModelAt:trainingData:configuration:completionHandler:))

Creates a task that updates the model at the URL with the training data and configuration, and calls the completion handler when the update completes.

[`init(forModelAt:trainingData:configuration:progressHandlers:)`](/documentation/CoreML/MLUpdateTask/init(forModelAt:trainingData:configuration:progressHandlers:))

Creates a task that updates the model at the URL with the training data and configuration, and calls the progress handlers during and after the update.

[`init(forModelAtURL:trainingData:completionHandler:)`](/documentation/CoreML/MLUpdateTask/init(forModelAtURL:trainingData:completionHandler:))

[`init(forModelAtURL:trainingData:progressHandlers:)`](/documentation/CoreML/MLUpdateTask/init(forModelAtURL:trainingData:progressHandlers:))

[`init(forModelAtURL:trainingData:configuration:completionHandler:)`](/documentation/CoreML/MLUpdateTask/init(forModelAtURL:trainingData:configuration:completionHandler:))

[`init(forModelAtURL:trainingData:configuration:progressHandlers:)`](/documentation/CoreML/MLUpdateTask/init(forModelAtURL:trainingData:configuration:progressHandlers:))

[`MLBatchProvider`](/documentation/CoreML/MLBatchProvider)

An interface that represents a collection of feature providers.

[`MLModelConfiguration`](/documentation/CoreML/MLModelConfiguration)

The settings for creating or updating a machine learning model.

[`MLUpdateContext`](/documentation/CoreML/MLUpdateContext)

The context an update task provides to your app’s completion and update progress handlers.

[`MLUpdateProgressHandlers`](/documentation/CoreML/MLUpdateProgressHandlers)

A collection of closures an update task uses to notify your app of its progress.

### Starting and Resuming an Update

[`resume(withParameters:)`](/documentation/CoreML/MLUpdateTask/resume(withParameters:))

Resumes a model update with updated parameter values.

[`MLParameterKey`](/documentation/CoreML/MLParameterKey)

The keys for the parameter dictionary in a model configuration or a model update context.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)