selected tab updates