metadata table creation