redraw method updated