rebuild structure of the project