Changed upload and update system to remove redundant refreshes and downloads. refactoring of controllers