You can define scripts to upgrade a previously published application on the Upgrade page.
Topics:
Defining an Upgrade Script
Upgrading a Custom Packaged Application
Scripting on this page enhances content navigation, but does not change the content in any way.