update file_download helper