updated table() and table view