add missing columns entity_id