added entity type to entity partial