Contemplated the corner case of the server performing a check.
Fixed the flow of the download.
Bugfixes.
Now all corner cases of the update seem to be working properly.
TODO: the body of the runUpdate method (downloading and storing all information).