update the dialog_ok