# Updating a record

**URL:** <https://discuss.elastic.co/t/updating-a-record/41902>\
**Category:** Elasticsearch\
**Created:** [February 16, 2016, 3:46pm UTC](https://discuss.elastic.co/t/updating-a-record/41902 "2016-02-16T15:46:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sombilat](https://avatars.discourse-cdn.com/v4/letter/s/779978/32.png) [@sombilat](https://discuss.elastic.co/u/sombilat)\
**Post date:** [February 16, 2016, 3:46pm UTC](https://discuss.elastic.co/t/updating-a-record/41902/1 "2016-02-16T15:46:01Z")

</div>

Hello,

I was wondering if there was a way to update an existing record in ES?

Like, i have a record where in i want to change the first name. Like the DB queries.

```
    _UPDATE firstName VALUES 'SexyBeast' WHERE employeeId = '1992'_

```

Like above, i want to change some records values but I have placed the data up already.

Thanks,

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 11:16pm UTC](https://discuss.elastic.co/t/updating-a-record/41902/2 "2017-07-05T23:16:00Z")

</div>


