Updated the genetic algorithms