Have look at this post (and the thread in general):
It describes the database modifications necessary to update the media locations if its path changes.
I hope it’s obvious, but back up your database before making any changes. Heck, back up the entire Plex Media Server data directory. And ensure that PMS is stopped while making any DB changes.