update the elasticsearch dependency to v1.0.0