fixed updating rules