Update elasticsearch.php