update display repaint process
update documentation