update file dir