updates show page for post