update windows control