update download handler