updated mysql creation of tables