Create a version when creating a new collector and edit version when editing a collector