updated plot residuals