update so child windows are closed