Add repo cache refreshing