changed sync command