fixed crazy bug with non local updating method which made accuallrates vector corrupt