updates for showing posts on page