update ioc to use cache repository