add score manage and index process and fix some bugs