update typo entirty to entity