update dialog controll