Right click the file you wish to overwrite in the sound editor, select Replace Internal Sound.
If you are replacing a 3D sound (sounds which have a location i.e. unit sounds) then you will need to ensure that the wav file you are using is mono, or the sound will not play.