updating activity numbers