save related type ids when a new event type is created