update chathistory doc