list_posts helper update
compatible, optimizing