updated dag_formula create table