updated dispatch html to display the header and body