change the dir form