make updateRepos a lot smarter