updates for plots