Update visibility on api method