update dependency injection extension