Updated error/success for arrays

Error and Success callbacks now only fire at the end of the processing
of an array.