update download plugin to the new run() API