inserted events from api into the day