update file's path