updated EntityTypeController