If you want to just update the database, the answer above is all you need.
To update the actual program files of your off-line Avast installation, you'll need to download the latest version to a flash drive or CD, then uninstall the old one from the offline computer (please let us know if you need help with that) and install the new from the portable media, then update the database.