Modify data and redraw