changed functions to update list of repos in case we install from them