The following the the steps that I think would work... please correct me I am wrong.
I am not sure if I need to turn fencing off before replacing the fencing though.
I didn't use the replace command as I heard it could some issues.
The following are the steps I followed