update table structure