updata dialog and task