change structure of repository