add theadid and message id