update download handler
jinja template