update window icon and title