added second visibility update