further work on update function to build a list of files to upgrade