updated window class