Update table structure