fixed states update count