...
Check for updates, download the update, install the update, restart the app for the changes to take affect. These can be automated, or even chained together or done in the background, however for this example each step will be done manually , allowing you to see each step and identify each part of the code that handles that particular stepso that you're able to easily see what is involved.
Evergreen Update Example
...