updating entity classes