update callback methode