repaint method progress