Changed versioning so that it increases for all parent nodes