Update visibility class