add refresh action for post detail