update dwindow