update visibility