Added logic to create elastic search mapping when new event type is created