Refresh a Track From Its File's Metadata
If you make changes to the file of an iTunes track in another application, iTunes doesn't always immediately update its database with the changes until you've played the track or tapped its Get Info window.
This is a relatively old AppleScript command, but refresh is intended to do this. This script will compel iTunes to update the selected track entries in the database with information from the metadata of the their files: