Modifying /update. /update cannot be used with variable rules, endpoint
now accepts index and doc_type in the body of the POST request.