add langCode to entity