complete sync command