more progress on upgrading - detects and downloads latest version