New Oil pump is different

I have the oil pump I pulled from my engine and the new one I have to replace it. I dont understand why it is different and what this means. You can see how the old one has a big bolt that hold back a spring and the new one has the spring held back by a lock ring it looks like. Also just the shape of that area is different. Does anyone know about this and what this means?