added an watcher which helps binding view update to the model