Fixed can't download update bug.

Fixed can't download update bug.