Updating node and ghost versions