add history manage