change dir of doc