update mapwindow and game