Update function visibility