Improve update functionality.

 - Make it easier to personalize.
 - Move functions related to update into the update file. (don't depend
   on them being loaded from ~/.bash_functions; I want to get rid of
   that file completely.