update testn histogram