Updated the sync command.