update elasticsearch