# Bulk update api support? 0.90.7

**URL:** <https://discuss.elastic.co/t/bulk-update-api-support-0-90-7/15915>\
**Category:** Elasticsearch\
**Created:** [February 20, 2014, 7:10am UTC](https://discuss.elastic.co/t/bulk-update-api-support-0-90-7/15915 "2014-02-20T07:10:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![happyprg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/happyprg/32/681_2.png) [@happyprg](https://discuss.elastic.co/u/happyprg)\
**Post date:** [February 20, 2014, 7:10am UTC](https://discuss.elastic.co/t/bulk-update-api-support-0-90-7/15915/1 "2014-02-20T07:10:57Z")

</div>

i want bulk update by below query

{  
"update":{  
"\_id":"1392879915322246000",  
"\_index":"test3\_398462",  
"\_type":"2014-02"  
}  
}  
{

```
"script" : "ctx._source.playTime += playTime",

"params" : {
    
    "playTime" : 100

}

```

}

but, error found.  
{  
"error":"Unexpected end-of-input: expected close marker for OBJECT (from [  
Source: [  
B@7390f98a; line: 1,  
column: 83  
])\n at [  
Source: [  
B@7390f98a; line: 1,  
column: 169  
]"  
}

how can i use bulk update with script?

my jest client code is..  
e.g) Update build = new Update.Builder(query)  
.index(labc)  
.type(bbc)  
.id(123).build();  
plz help me

---

<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 6, 2017, 1:48am UTC](https://discuss.elastic.co/t/bulk-update-api-support-0-90-7/15915/2 "2017-07-06T01:48:54Z")

</div>


