update file-dir