Further modified cohort flat table update trigger