set version constraint on collection-hooks