Change diagram directory structure