update histo for new db table