Add reference from etype table's eid column to the entities table [applied]