commit changed repaint