Overmixing the batter is the most likely reason for dryness. Stir the chocolate and pumpkin ingredients in by hand, do not use a mixer for a soft and moist cake.