upgrade the window manager middleware