modify post detail view