You can’t bolt a new flange over the old one if the flange is broken. You can interchange flange components if you buy like for like, or use a flange adapter that attaches to the existing flange.