update elasticsearch dependency to 1.2.1