update target-dir