updated api code and sidebar to show H3 sub headings