update simulated annealing