Add insertHistory method into RevTree