add history to task detail page