Introduce a model, and update view automatically when attribute updated