change_pdir