add events documentation