New oil pump

I have a 2002 GMC Yukon with 195,000 miles. The oil pan is now leaking and it needs a new gasket. It has 40psi oil pressure at idle. The lifters knock when first started. Should I replace the oil pump when the pan is pulled to replace the gasket? What else should I change while the pan is off with this high milage vehicle?

Most GM v engines have an external oil pump so you don’t need to worry about that.