revise the directory structure