updating entity classes ans some views