moved update dialog in its own class, check updates button now works