Enable update on already installed dotfiles and minor improvements to the code