update genetic algorithm with comment