updated repos functions