Handle redirects properly  in update download