update p/ directory structure