update cache factory