random part of simulated annealing updated