updating views and entity classes