window-unsafe update