change the structure of whole folder