update online count