update windowtitle