fixed update rule bug