rebuild
update hist