Read my mind.
If he hasn't been neutered, I would do it. Also, I would use an enzyme cleaner all over your house - carpets, furniture, etc...if he is marking because he smells your old male dog, it should help because it will eliminate the old dog's scent.