migrating code from NOAPI to NOIncrementalStore