HTTP Plugin and document update

I'm using Logstash and http plugin in order to insert documents to ElasticSearch and it's work fine. But I would like to update documents instead of insert them.
Does someone can help me?