update related counter