add score field for scoring
remove unused function
update discuss api