Index Operation Update and delete existing records in elastic search

I have used this way to creating index and fetching data from it.
client.index({
index: 'check',
id: '1',
type: 'test',
body: {
"bussiness_id": i,
"name": 'Vikrant',
"city": address[0].city,
}

            }, function (err, resp, status) {
                if (err) {
                    console.log(err);
                } else {
                  console.log(res+'****'+status);
                }
            });

But i am not able to update and delete this existing record. Please help me out for the same, its bit urgent. Thanks

Please edit your post and move it to the Elasticsearch category. It doesn't belong in Elastic User Groups.

Please format your code using </> icon as explained in this guide. It will make your post more readable.

Update is like an index operation. Just send again the same request and you're done.
Delete. What did you try so far?