---
id: patch
title: 'Updating'
description: 'How to update records in your database with Supabase'
---
import DummyData from '../common/DummyData.mdx'
import Collapsable from '../../src/components/Collapsable'
import CommonResponses from '../common/CommonResponses.mdx'
import CommonFilters from '../common/CommonFilters'
import FromFunction from '../common/FromFunction.mdx'
import CustomCodeBlock from '../../src/components/CustomCodeBlock'
import { patchRecordJs } from './getExamples'
### Update record
## Reference
### `from()`
### `update()`
```js {3}
supabase
.from(tableName)
.udpate(data, options?)
```
#### `data: object`
New record values.
#### `options: object?`
```js
const options = {
bulk: false // Protects against bulk updates. Set to true if you intend to perform a bulk change.
}
```
----
## Filtering
### `filter()`
### `match()`
### `eq()`
### `gt()`
### `lt()`
### `gte()`
### `lte()`
### `like()`
### `ilike()`
### `is()`
### `in()`
### `not()`
## Responses
#### 200 OK
Successful