need to add view events and reload table data