add entry history and entry state