update Sync example