update callback method