rebuild the repo