update the sql queries to create the tables