add events to docs