Hi Linda,
Don't detach him as the husband, but go to the two children's profiles and click on 'Edit'. On the next page, under where it says 'Edit Family', click 'replace/remove father' and it'll open a screen to make the correct man the father of the child.