update model with WorlflowDefinition