fixed update route in model subgenerator