modify History model