call UpdateAllViews()- which updates all views associated with the document by calling OnUpdate() function of all the views.