update callback handling