Yes you need to overwrite the files, be carefull though, pipe.php if you use it needs 0777 after, maybe hashbang'd.
If you edited structure.pdt keep a copy. If you edited the routes to ensure you change them before you do anything.
Ensure you run /upgrade/ after the files have been overwritten.
AND Please BACKUP your files / database just in case.