finish sync