updated the plots for pdf.