fix not all model properties getting rendered

- root problem is that the datatype select component
would fail if the data type is not a string
- the user had some properties defined as arrays:
eg: type: ["number"],
- added logic to try/catch the value setting and reset to
string if it errors out.
- also added updated properties iteration to update model
to make sure model properties get updated explicitly during
model save
because we are saving the model instance.  

I think the expectation of the user when they click the 'save model' button is that whole model will get persisted, including properties.

I mistook the other branch for a create flow (not rename) - will take another look