update purity plot for paper