Update Plot Logic