add events and recode some tables renderings