updated plotgeneration and data