feature(hash) replace current history entry instead of appending new one