Updated table call for list_pages and list_posts