how to Update one window’s contents from another