update dir path