error in update

N_eff always has to be equal to the previous one, it isn't, check out
why!!!