Updated HTML component for pdf