Updating api example with proper applier callback