Changed a sync way for labels and revisions.