made more robust mechanics for auto-updating on Windows