update hist