fixed score updating only when a higher score is accomplished for a sequence