updated view class