window updated