adding history add/edit/remove