Fixed dot files copying and reorder packages update process.