update dialog window