Update CreateWindows