update data on call back and not frame redraw