update scoring method