Added some support for refreshing view after model change