updated the score the whole generation