update count on user action