updated callbacks for downloadurl and local archive