update get_window_size