update score api, get score api also done