update elasticsearch configuration