table creation queries updated