Change base structure of repository