updated table creation definition