edit for add message sample