However , working alongside coach James Lowes , he guided the club away from relegation and , in August , led them to their first Challenge Cup victory since 1974 courtesy of a 25-16 win over Huddersfield .