update file directory