update open sum and number of comments.