Change structure of repository