update method visibility