update the DialogActivity