Update content block to iterate over messages and print each one in a list