renamed invalidate -> invalidateRepository