Update some outdated code for PrettyTable

Some PrettyTable methods and signatures were changed.