added procedure for updating cohort_flat table from flat table 1
added procedure for updating cohort_flat table from flat table 1