modify table definition and add the insert clauses