Change generateDataViews to updateDataViews.