Upgrading that system is not economically viable anymore. The parts are too out of date. Changing the MB would mean also changing other components, and before long you are getting close to replacing most of the system.
I recommend donating the computer to goodwill or other charitable org. and just buying a new computer.
but what if i bought the exact same motherboard would it work then?