update dependency injection