window controller updated