revise directory position