invalidate toggle cache when editing in the UI