update message in dialog box