updating views, made BaseView