Update sample for MessageBox