trigger event on table change and table creation