Update the window size