update main window imediatly after create toolbar window