updated index without two line graphs drawing but no redraw