modify score and ranking