implements ElasticSearch.bulk_update