updates for plot()