update on mainWindow