added example for alterBarcode hook, CRM-12967