Update the creation of tables