upgrade to consul 0.3.1 and other upgrades