add if not exist clauses to table creation