Update linkage on unpublish