---
url: "https://vueda.dev/v3/reference/api/js/utils/objectCrud/functions/defaultObjectUpdate.md"
title: "defaultObjectUpdate"
---

# defaultObjectUpdate

## Overview

The VUEDA specific implementation for reactive-helper's object update crud function.

## Signature

`defaultObjectUpdate(args)`

### Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| <span id="param-args">args</span> | `object` | yes | The arguments object. |

#### args Properties

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="param-args-object">object</span> | `CrudObject` |  |  | The object to update. |
| <span id="param-args-params">params</span> | `any` |  |  | The arguments to be passed as querystring to the retrieve action. |
| <span id="param-args-pkKey">pkKey</span> | `string` |  |  | The primary key field name on the object. Defaults to `id`. |
| <span id="param-args-target">target</span> | `object` |  |  | VUEDA specific arguments for the CRUD operation. |

### Returns

`CancellablePromise`

- A cancellable promise.

## Source

`client/lib/utils/objectCrud.js:145`
