I think you can get an upgrade of the software in the internet. Give an extensive search and find out. Though you may only get a trial version.
You cannot upgrade the iphone to make it the same as the iphone 3g as it doesnt have the physical components for the 3g to work