updated example to use two different view models
removed silent constraing on model attribute setter
added equality check before setting model attribute value