update visibility on method