updated window size.