update centralwidget document