adding dialog to Updater class