add events and entities data