Updated visual model refresh to check if relationships of relationship
groups exits in the textual model or not and depend on the result,
refresh the model.