In the Library, go to the Folders panel, right-click on each of the top-level folders and "update folder location".
reformatted my external drive with my photos.
Do you mean that you have actually DELETED your photos by formatting the drive?
No my photos are all there
Thanks I will try it..............