update count