update window title.