@update window to glfw