Made a few bug fixes to the updater