The best thing to do is to re-import from the original hand history files, which will have been moved to the PokerTracker 3\Processed folder by default.
If you don't still have the original hand histories then you can
export the hands from your old database.
Either way, use
Manual Import to import to the new database, and remember to run Database > Housekeeping after the update (or turn the options on in the import) to update the cache.