update IdentityFactory add cache condition