update elasticsearch cookbook