Updates the view class.