print out message contents
update PUBLISH dealing with debug print