change dir of cdp