generate:form  update uses and dependency injection