Onshore pipeline valve upgrades