updated table structure