update View classes with name and type