updating headers and other formatting