update formatting for pdf export