reinitilize the repository