You detach the person from the wrong parents and attach him to the correct parents. You also need to correctly attach the correct parents to their parents. You will not lose the connection to spouses or descendants or any facts, notes, sources, or any other information on any of the individuals. You should review your sources and notes. You may have to unlink some of your sources from some people and link them to the correct people. Some of your notes may need updating.