Update syncing of labels and flags