change directories structure