update methode for passing calback error