fix typo in add docs
added apply method
added wrapCallback function