modify IoC reference