add events from api