Updating document and adding new field

If you are not setting by yourself the _id and are not reading the generated _id by elasticsearch so you can't really update the document itself.

You can use the Update by query feature though.