fixing updaterepo