updated ploting