edit entity class